<?php $this->loadHelper('common'); ?>
<script type="text/javascript" src="/js/swfobject.js"></script>
<link type='text/css' href='/css/jquery.ui.css' rel='stylesheet' media='screen' />
<link type='text/css' href='/css/ui.daterangepicker.css' rel='stylesheet' media='screen' />
<script type="text/javascript" src="/js/jquery.daterangepicker.js"></script>
<script type="text/javascript" src="/js/jquery.ui.js"></script>
<div id="manager">
    <div class="left">
        <div class="left-menu">
            <a href="/video"><img border="0" style="margin-right: 10px;" src="/images/icon1.jpg" alt=""/>
                Lượt xem
            </a>
        </div>
        <div class="left-menu">
            <a href="/videocat"><img border="0" style="margin-right: 10px;" src="/images/icon1.jpg" alt=""/>
                Lượt play
            </a>
        </div>
        <div class="left-menu">
            <a href="/featured_video"><img border="0" style="margin-right: 10px;" src="/images/icon1.jpg" alt=""/>
                Lượt tải
            </a>
        </div>
        <div class="left-menu">
            <a href="/myvideo"><img border="0" style="margin-right: 10px;" src="/images/icon1.jpg" alt=""/>
                Doanh thu
            </a>
        </div>
    </div>
    <div class="right">
        <div>
            <div id="bg-title1"><img src="/images/bg-title1.jpg" alt="" /></div>
            <div id="bg-title2a"><img src="/images/icon-title.jpg" style="margin-right:8px;" alt="" />Thống kê VOD</div>
            <div id="bg-title3"><img src="/images/bg-title3.jpg" alt="" /></div>
            <div class="clearfloat"></div>
        </div>
        <div id="content">
            <div class="area-button">
                <div class="area-button1">
                    <input type="text" name="datepicker" id="datepicker" />
                    <script type="text/javascript">$('input#datepicker').daterangepicker();</script>
                </div>
                <div class="clearfloat"></div>
            </div>

            <div class="area-content1">
                <div id="chart">
                    Cai flash player vao
                </div>
            </div>

        </div>
    </div>
</div>
<div class="clearfloat"></div>
<script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("/amchart/amline.swf", "amline", "640", "400", "8", "#FFFFFF");
    so.addParam("wmode", "transparent");
    so.addVariable("path", "/amchart/");
    so.addVariable("data_file", encodeURIComponent("/chart/xml"));

	so.addVariable("chart_settings", encodeURIComponent("<settings><graphs><graph gid=\"1\"><title>Lượt xem</title><color>#FFCC00</color></graph><graph gid=\"2\"><title>Lượt tải</title><color>#999999</color></graph></graphs></settings>"));                 // you can pass chart settings as a string directly from this file
//	so.addVariable("additional_chart_settings", encodeURIComponent("<settings><graphs><graph gid=\"1\"><title>Tieu de</title></graph></graphs></settings>"));      // you can append some chart settings to the loaded ones
    so.addVariable("loading_settings", "LOADING SETTINGS");                                           // you can set custom "loading settings" text here
    so.addVariable("loading_data", "LOADING DATA");                                                   // you can set custom "loading data" text here
    so.addVariable("preloader_color", "#999999");
    so.write("chart");
    // ]]>
</script>